package com.xd.dao;

import com.xd.po.GoodsMain;
import com.xd.po.GoodsMainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodsMainMapper {
    long countByExample(GoodsMainExample example);

    int deleteByExample(GoodsMainExample example);

    int deleteByPrimaryKey(String goodsId);

    int insert(GoodsMain record);

    int insertSelective(GoodsMain record);

    List<GoodsMain> selectByExample(GoodsMainExample example);

    GoodsMain selectByPrimaryKey(String goodsId);

    int updateByExampleSelective(@Param("record") GoodsMain record, @Param("example") GoodsMainExample example);

    int updateByExample(@Param("record") GoodsMain record, @Param("example") GoodsMainExample example);

    int updateByPrimaryKeySelective(GoodsMain record);

    int updateByPrimaryKey(GoodsMain record);
}